<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : components
    Created on : 26.11.2008, 18:22:35
    Author     : Jaroslav
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page binding="#{components.page1}" id="page1">
            <webuijsf:html binding="#{components.html1}" id="html1">
                <webuijsf:head binding="#{components.head1}" id="head1">
                    <webuijsf:link binding="#{components.link1}" id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body binding="#{components.body1}" id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{components.form1}" id="form1">
                        <div style="left: 0px; top: 0px; position: absolute">
                            <jsp:directive.include file="resources/logo_loggedIn.jspf"/>
                        </div>
                        <webuijsf:label id="label1" style="font-size: 14px; left: 192px; top: 96px; position: absolute" text="Úprava komponentov a verzii pre projekt:"/>
                        <webuijsf:image id="image1" style="left: 0px; top: 120px; position: absolute" url="/resources/bar.png" width="800"/>
                        <webuijsf:table augmentTitle="false" id="table2" paginateButton="true" paginationControls="true"
                            style="height: 125px; left: 408px; top: 240px; position: absolute; width: 360px" title="Verzie" width="360">
                            <webuijsf:tableRowGroup id="tableRowGroup2" rows="15" sourceData="#{components.versionArr}" sourceVar="currentRow">
                                <webuijsf:tableColumn headerText="Verzia" id="tableColumn3" sort="versionNumber">
                                    <webuijsf:staticText id="staticText3" text="#{currentRow.value['versionNumber']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="Dátum uvoľnenia" id="tableColumn1" sort="releaseDate">
                                    <webuijsf:staticText id="staticText1" text="#{currentRow.value['releaseDate']}"/>
                                </webuijsf:tableColumn>
                            </webuijsf:tableRowGroup>
                        </webuijsf:table>
                        <webuijsf:table augmentTitle="false" id="table1" paginateButton="true" paginationControls="true"
                            style="height: 125px; left: 24px; top: 240px; position: absolute; width: 360px" title="Komponenty" width="360">
                            <webuijsf:tableRowGroup id="tableRowGroup1" rows="15" sourceData="#{components.componentArr}" sourceVar="currentRow">
                                <webuijsf:tableColumn headerText="Názov" id="tableColumn2" sort="compName">
                                    <webuijsf:staticText id="staticText2" text="#{currentRow.value['compName']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="Projekt" id="tableColumn6" sort="projectId">
                                    <webuijsf:staticText id="staticText6" text="#{currentRow.value['projectId']}"/>
                                </webuijsf:tableColumn>
                            </webuijsf:tableRowGroup>
                        </webuijsf:table>
                        <webuijsf:staticText binding="#{components.staticText4}" id="staticText4" style="color: #ff0000; font-size: 14px; left: 504px; top: 96px; position: absolute"/>
                        <webuijsf:label id="label2" style="position: absolute; left: 24px; top: 144px" text="Názov komponentu: "/>
                        <webuijsf:textField binding="#{components.komponent}" id="komponent" style="left: 144px; top: 144px; position: absolute"/>
                        <webuijsf:label id="label3" style="position: absolute; left: 408px; top: 144px" text="Názov verzie :"/>
                        <webuijsf:textField binding="#{components.verzia}" id="verzia" style="left: 504px; top: 144px; position: absolute"/>
                        <webuijsf:button actionExpression="#{components.button1_action}" id="button1"
                            style="height: 24px; left: 263px; top: 192px; position: absolute; width: 95px" text="Pridaj komponent"/>
                        <webuijsf:button actionExpression="#{components.button2_action}" id="button2"
                            style="height: 24px; left: 647px; top: 192px; position: absolute; width: 96px" text="Pridaj verziu"/>
                        <webuijsf:image id="image2" style="left: 0px; top: 216px; position: absolute" url="/resources/bar.png" width="800"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
